import service from "@/utils/request";

/**
 *  查询检查项目列表 和患者 详情
 * @param registId
 * @returns {*}
 */
export  function querCheckItems(registId){
  return service({
    url: '/medical_technology/querCheckItems?registId='+registId,
    method: 'get'
  })
}


/**
 *  查询[检验]项目列表 和患者 详情
 * @param registId
 * @returns {*}
 */
export  function querInspectItems(registId){
  return service({
    url: '/medical_technology/querInspectItems?registId='+registId,
    method: 'get'
  })
}


export  function  querCheckItemDetail(itemId){
  return service({
    url: '/medical_technology/querCheckItemDetail?itemId='+itemId,
    method: 'get'
  })
}

/**
 * 保存检查结果
 * @param params
 * @returns {*}
 */
export  function  saveCheckResult(params){
  return service({
    url: '/medical_technology/saveCheckResult',
    method: 'post',
    params
  })
}


export  function  querInspectItemDetail(itemId){
  return service({
    url: '/medical_technology/querInspectItemDetail?itemId='+itemId,
    method: 'get'
  })
}
export  function  saveInspectResult(params){
  return service({
    url: '/medical_technology/saveInspectResult',
    method: 'post',
    params
  })
}
